import React, {Component, PropTypes} from 'react'
import BusinessProduct from './BusinessProduct'
import AppBusinessProduct from './AppBusinessProduct'
import Styles from '../../admin/Index.less'
import Search from '../../admin/role/Search'

class Index extends React.Component {

  constructor(props) {
    super(props)
    this.state = {
      visible: false,
      appBusinessProducts: [],
      businessProducts: [],
      page: {
        currentPage: 1,
        pageSize: 13,
        totalCount: 0
      },
      loading: false,
      bucketTagList: [],
      userLanguageTagList: [],
      checkedList: [],
      indeterminate: true,
      checkAll: false,
      bucketTagDisabled: false,
    }

  }

  componentDidMount() {
  }

  componentWillReceiveProps(props) {

  }

  render() {
    return (
      <div>
        <AppBusinessProduct ref={(ref) => {
          this.appBusinessProduct = ref
        }} />
        <BusinessProduct/>
      </div>
    )
  }
}

export default Index
